<?php
  //echo json_encode($json, JSON_FORCE_OBJECT);
  echo json_encode($json); //backwards compatibility with PHP 5.2
?>